package com.zhejiangzhengyuan.municipal_common.entity.vo;

import com.alibaba.excel.annotation.format.DateTimeFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author lin_ju
 * Create on 2019/12/5
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="InspectionRecordQuery对象", description="用于巡检记录查询的结果封装")
public class InspectionRecordQueryVo {
    @ApiModelProperty(value = "巡检养护表主键")
    private Long id;
    @ApiModelProperty(value = "受养护目标")
    private String facilityId;
    @ApiModelProperty(value = "巡检人也是上报人")
    private String username;
    @ApiModelProperty(value = "巡检时间")
    @DateTimeFormat("yyyy年MM月dd日HH时mm分ss秒")
    private Date  inspectionTime;
    @ApiModelProperty(value = "事件数")
    private Integer eventNumber;




}
